package com.zy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MyApplication {
    //每一个Springboot项目都有一个启动类
    //启动内置tomact，架子啊运行本项目
    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class);
    }
    //总结：用springBoot搭建一个web项目
    //1：导入依赖
    //2:配置application.yml
    //3:写出启动类
}
